package com.jshop.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author jon
 * @date 2019/8/13 20:52
 */
@Configuration
//@EnableScheduling
@EnableScheduling
public class SpringTaskConfig {

//    @Bean
//    public SchedulerFactoryBean schedulerFactoryBean() {
//        return new SchedulerFactoryBean();
//    }
}
